#ifndef _CDSF_ERRORCODE_H_
#define _CDSF_ERRORCODE_H_

#include "CDSF_Includes.h"

typedef int SFCode;

#define SFOK(code)	((code)>=0)
#define SFError(code)	((code)<0)

#define SFCodeOK					0
#define SFCodeError					-1
#define SFCodeNoData				-2
#define SFCodeConfigurationError	-3
#define SFCodeMemoryAllocationError	-10
#define SFCodeSpaceFullError		-11

#endif